-- GENERATED SPELL FOR [Winterskorn Shield-Maiden] --


function spell0_23663(pUnit, Event) --@Throw Shield,n/a--
pUnit:FullCastSpellOnTarget(43416,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23663', 2500, 1)
end

function Sorts_23663(pUnit, Event)
local choix_sorts_23663 = math.random(0, 0)
if choix_sorts_23663 == 0 then
pUnit:RegisterEvent('spell0_23663', 1, 1)
end
end

function mob23663_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23663', math.random(1500, 3000), 1)
end

function mob23663_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23663_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23663_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23663, 1, 'mob23663_Action')
RegisterUnitEvent(23663, 2, 'mob23663_Leave')
RegisterUnitEvent(23663, 3, 'mob23663_Kill')
RegisterUnitEvent(23663, 4, 'mob23663_Die')
